package factory.factory_method_2;

public class Test {
    public static void main(String[] args) {
        CoffeStore coffeStore = new CoffeStore();

        //Coffee coffees = new AmeriacanCoffee();
        Coffee coffees = new LetteCoffe();
        coffeStore.setCoffee(coffees);

        Coffee coffee = coffeStore.orderCoffee();

        System.out.println(coffee.getName());
    }
}
